package com.hst.web.base.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.hst.core.annotation.Comment;
import com.hst.core.annotation.Del2History;
import com.hst.core.annotation.HSID;
import com.hst.core.dao.BaseEntity;

@Entity
@Del2History
@Table(name = "t_vehicle_info")
@Comment("车辆信息表")
@HSID(length = 9, prefix = "V", resetByDay = true)
public class TVehicleInfo extends BaseEntity {

	@Id
	@Column(name = "vehicle_code", length = 16)
	@Comment("车辆编号")
	@GeneratedValue(generator = "hsid")
	@GenericGenerator(name = "hsid", strategy = "com.hst.core.hbm.HSIDGenerator")
	private String vehicleCode;

	@Column(name = "employee_code", length = 16)
	@Comment("所属员工编号")
	private String employeeCode;

	@Column(name = "plate_no", length = 20)
	@Comment("车牌号")
	private String plateNo;

	@Column(name = "plate_no2", length = 20)
	@Comment("车牌号2")
	private String plateNo2;

	@Column(name = "plate_color", length = 10)
	@Comment("车牌颜色")
	private String plateColor;

	@Column(name = "engine_no", length = 60)
	@Comment("发动机号")
	private String engineNo;

	@Column(name = "owner_name", length = 100)
	@Comment("车主姓名")
	private String ownerName;

	@Column(name = "vehicle_type", length = 4)
	@Comment("车辆类型")
	private String vehicleType;

	@Column(name = "use_character", length = 1)
	@Comment("车辆使用性质")
	private String useCharacter;

	@Column(name = "front_photo", length = 200)
	@Comment("车辆正面照片")
	private String frontPhoto;

	@Column(name = "goods", length = 32)
	@Comment("货物名称")
	private String goods;

	@Column(name = "v_rdtransport_no", length = 50)
	@Comment("道路运输证号")
	private String vrdTransportNo;

	@Column(name = "v_RdTransport_img", length = 200)
	@Comment("道路运输证照片")
	private String vrdTransportImg;

	@Column(name = "v_RdTransport_exp", length = 10)
	@Comment("道路运输证有效期")
	private String vrdTransportExp;

	@Column(name = "policy_exp", length = 10)
	@Comment("保单结束日期")
	private String policyExp;

	@Column(name = "policy_img", length = 200)
	@Comment("保单照片")
	private String policyImg;

	@Column(name = "relation_img", length = 200)
	@Comment("车主关系证明照片")
	private String relationImg;

	@Column(name = "issue_no", length = 20)
	@Comment("卡号(正在使用的卡号)")
	private String issueNo;

	@Column(name = "pass_old", length = 20)
	@Comment("旧版车辆证号")
	private String passOld;

	@Column(name = "oldpass_status", length = 32)
	@Comment("旧版车辆证状态")
	private String oldpassStatus;

	@Column(name = "pushflag", length = 2)
	@Comment("下发状态:是否下发到卡口,0-未下发 (默认值) ,1-已下发")
	private String pushflag;

	@Column(name = "check_status", length = 2)
	@Comment("审核状态    0:新建,1:待审核,2:审核通过,3:审核不通过,4:已发证")
	private String checkStatus;

	@Column(name = "review_status", length = 2)
	@Comment("复核状态    0:待复核,1:已复核2:复核不通过")
	private String reviewStatus;

	@Column(name = "begin_expirydate")
	@Comment("有效期开始时间")
	private Timestamp beginExpirydate;

	@Column(name = "end_expirydate")
	@Comment("有效期开始时间")
	private Timestamp endExpirydate;
	
	@Column(name = "main_type",length=10)
	@Comment("重点类型")
	private String mainType;
	
	@Column(name = "file_no",length=32)
	@Comment("驾驶证档案号")
	private String fileNo;
	
	@Column(name = "drvlicence_type",length=2)
	@Comment("驾驶证类型")
	private String drvlicenceType;
	
	@Column(name = "drvlicence_exp",length=10)
	@Comment("驾驶证有效期")
	private String drvlicenceExp;
	
	@Column(name = "certificatetype",length=2)
	@Comment("道路从业人员资格证类型")
	private String certificateType;
	
	@Column(name = "p_rdtransport_no",length=20)
	@Comment("道路从业人员资格证号")
	private String prdTransportNo;
	
	@Column(name = "p_rdtransport_img",length=200)
	@Comment("道路从业人员资格证照片")
	private String prdTransportImg;
	
	@Column(name = "p_rdtransport_exp",length=10)
	@Comment("道路从业人员资格证有效期")
	private String prdTransportExp;
	
	@Column(name = "cas",length=50)
	@Comment("CAS号(危化品)")
	private String cas;
	
	@Column(name = "driverpass_img",length=200)
	@Comment("驾驶员从业证照片(危化品)")
	private String driverPassImg;
	
	@Column(name = "supercargo_name",length=50)
	@Comment("押运员姓名(危化品)")
	private String supercargoName;
	
	@Column(name = "supercargopass_img",length=200)
	@Comment("押运员从业证照片(危化品)")
	private String supercargoPassImg;

	public String getMainType() {
		return mainType;
	}

	public void setMainType(String mainType) {
		this.mainType = mainType;
	}

	public String getVehicleCode() {
		return vehicleCode;
	}

	public void setVehicleCode(String vehicleCode) {
		this.vehicleCode = vehicleCode;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getPlateNo() {
		return plateNo;
	}

	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}

	public String getPlateColor() {
		return plateColor;
	}

	public void setPlateColor(String plateColor) {
		this.plateColor = plateColor;
	}

	public String getEngineNo() {
		return engineNo;
	}

	public void setEngineNo(String engineNo) {
		this.engineNo = engineNo;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(String vehicleType) {
		this.vehicleType = vehicleType;
	}

	public String getUseCharacter() {
		return useCharacter;
	}

	public void setUseCharacter(String useCharacter) {
		this.useCharacter = useCharacter;
	}

	public String getFrontPhoto() {
		return frontPhoto;
	}

	public void setFrontPhoto(String frontPhoto) {
		this.frontPhoto = frontPhoto;
	}

	public String getGoods() {
		return goods;
	}

	public void setGoods(String goods) {
		this.goods = goods;
	}

	public String getVrdTransportNo() {
		return vrdTransportNo;
	}

	public void setVrdTransportNo(String vrdTransportNo) {
		this.vrdTransportNo = vrdTransportNo;
	}

	public String getVrdTransportImg() {
		return vrdTransportImg;
	}

	public void setVrdTransportImg(String vrdTransportImg) {
		this.vrdTransportImg = vrdTransportImg;
	}

	public String getVrdTransportExp() {
		return vrdTransportExp;
	}

	public void setVrdTransportExp(String vrdTransportExp) {
		this.vrdTransportExp = vrdTransportExp;
	}

	public String getPolicyExp() {
		return policyExp;
	}

	public void setPolicyExp(String policyExp) {
		this.policyExp = policyExp;
	}

	public String getPolicyImg() {
		return policyImg;
	}

	public void setPolicyImg(String policyImg) {
		this.policyImg = policyImg;
	}

	public String getRelationImg() {
		return relationImg;
	}

	public void setRelationImg(String relationImg) {
		this.relationImg = relationImg;
	}

	public String getIssueNo() {
		return issueNo;
	}

	public void setIssueNo(String issueNo) {
		this.issueNo = issueNo;
	}

	public String getPassOld() {
		return passOld;
	}

	public void setPassOld(String passOld) {
		this.passOld = passOld;
	}

	public String getOldpassStatus() {
		return oldpassStatus;
	}

	public void setOldpassStatus(String oldpassStatus) {
		this.oldpassStatus = oldpassStatus;
	}

	public String getPushflag() {
		return pushflag;
	}

	public void setPushflag(String pushflag) {
		this.pushflag = pushflag;
	}

	public String getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getReviewStatus() {
		return reviewStatus;
	}

	public void setReviewStatus(String reviewStatus) {
		this.reviewStatus = reviewStatus;
	}

	public Timestamp getBeginExpirydate() {
		return beginExpirydate;
	}

	public void setBeginExpirydate(Timestamp beginExpirydate) {
		this.beginExpirydate = beginExpirydate;
	}

	public Timestamp getEndExpirydate() {
		return endExpirydate;
	}

	public void setEndExpirydate(Timestamp endExpirydate) {
		this.endExpirydate = endExpirydate;
	}

	public String getPlateNo2() {
		return plateNo2;
	}

	public void setPlateNo2(String plateNo2) {
		this.plateNo2 = plateNo2;
	}

	public String getFileNo() {
		return fileNo;
	}

	public void setFileNo(String fileNo) {
		this.fileNo = fileNo;
	}

	public String getDrvlicenceType() {
		return drvlicenceType;
	}

	public void setDrvlicenceType(String drvlicenceType) {
		this.drvlicenceType = drvlicenceType;
	}

	public String getDrvlicenceExp() {
		return drvlicenceExp;
	}

	public void setDrvlicenceExp(String drvlicenceExp) {
		this.drvlicenceExp = drvlicenceExp;
	}

	public String getCertificateType() {
		return certificateType;
	}

	public void setCertificateType(String certificateType) {
		this.certificateType = certificateType;
	}

	public String getPrdTransportNo() {
		return prdTransportNo;
	}

	public void setPrdTransportNo(String prdTransportNo) {
		this.prdTransportNo = prdTransportNo;
	}

	public String getPrdTransportImg() {
		return prdTransportImg;
	}

	public void setPrdTransportImg(String prdTransportImg) {
		this.prdTransportImg = prdTransportImg;
	}

	public String getPrdTransportExp() {
		return prdTransportExp;
	}

	public void setPrdTransportExp(String prdTransportExp) {
		this.prdTransportExp = prdTransportExp;
	}

	public String getCas() {
		return cas;
	}

	public void setCas(String cas) {
		this.cas = cas;
	}

	public String getDriverPassImg() {
		return driverPassImg;
	}

	public void setDriverPassImg(String driverPassImg) {
		this.driverPassImg = driverPassImg;
	}

	public String getSupercargoName() {
		return supercargoName;
	}

	public void setSupercargoName(String supercargoName) {
		this.supercargoName = supercargoName;
	}

	public String getSupercargoPassImg() {
		return supercargoPassImg;
	}

	public void setSupercargoPassImg(String supercargoPassImg) {
		this.supercargoPassImg = supercargoPassImg;
	}
	
	
}
